
function getScreenWidth() {
      uni.getSystemInfo({
          success: function (e) {
            uni.setStorageSync('screenHeight',e.windowHeight)
            if(e.windowWidth>700){
              uni.setStorageSync('screenWidth',700)
            }else{
              uni.setStorageSync('screenWidth',e.windowWidth)
            }
              console.log(e.statusBarHeight,'ssssss')
              let statusHeight = e.statusBarHeight
              // #ifdef H5
              statusHeight = 0
              // #endif
              uni.setStorageSync('statusBarHeight',statusHeight)
              return e;
          }
      })
}

export default {
	getScreenWidth
}